package com.ibeeking.found.cop.b.rest.service;

import com.ibeeking.found.cop.service.common.param.FriendsLifeCycleParam;
import com.ibeeking.found.cop.service.common.query.FriendsLifeCycleQuery;
import com.ibeeking.found.cop.service.common.vo.FriendsLifeCycleVO;

import java.util.List;

public interface IFriendsLifeCycleService {

    /***
     * 查询列表
     */
    List<FriendsLifeCycleVO> list(FriendsLifeCycleQuery query);

    /***
     * 新增
     */
    Boolean add(FriendsLifeCycleParam param);

    /***
     * 修改
     */
    Boolean modify(FriendsLifeCycleParam param);

    /***
     * 通过id查询
     */
    FriendsLifeCycleVO view(Long id);


    /***
     * 修改状态
     */
    Boolean changeStatus(Long id, Integer status);


    /***
     * 通过id删除
     */
    Boolean del(Long id);

}
